package backend;

public class PipeContainer{

	
	int cant;
	Pipe pipe;
	

	
	public PipeContainer(int cant, Pipe pipe) {
		this.cant=cant;
		this.pipe=pipe;
	}
	
	public void setCant(int cant) {
		
		this.cant=cant;
	}
	public boolean hasPipes(){
		if(cant>0){
			return true;
		}
		return false;
	}
	public Pipe getPipe(){
		return pipe;
	}
	
}
